package com.sun.async.entity.dto;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

/**
 * 学生导入DTO类
 */
@Data
@ColumnWidth(20)
public class StudentImportDTO {

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("年龄")
    private Integer age;

    @ExcelProperty("性别")
    private Integer gender;

    @ExcelProperty("电话")
    private String phone;

    // 错误信息字段，用于存储校验不通过的信息
    private String errorMsg;
}